package com.epam.photographer.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ALBUM")
public class Album {
	@Id
	@Column(name = "ID")
	private int Id;
	@Column(name = "TITLE")
	private String title;
	@Column(name = "PHOTOGRAPHERID")
	private int photographerId;

	public int getId() {

		return Id;
	}

	public void setId(int id) {
		Id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getPhotographerId() {
		return photographerId;
	}

	public void setPhotographerId(int photographerId) {
		this.photographerId = photographerId;
	}

}
